package com.atguigu.gmall.oms;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.context.config.annotation.RefreshScope;
import springfox.documentation.swagger2.annotations.EnableSwagger2;

/**
 * @author mahaijun
 * @version 1.0.0
 * @ClassName com.atguigu.gmall.oms.GmallOmsApplication.java
 * @Description TODO
 * @createTime 2021年11月01日 22:12:00
 */
@SpringBootApplication
@EnableSwagger2
@MapperScan(basePackages = "com.atguigu.gmall.oms.mapper")
@RefreshScope
public class GmallOmsApplication {
    public static void main(String[] args) {
        SpringApplication.run(GmallOmsApplication.class, args);
    }
}
